Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.5 #731

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chii-bot[bot]
Copy link
Contributor

@chii-bot chii-bot bot commented Aug 16, 2022

This PR contains the following updates:

Package Type Update Change
Lucas-C/pre-commit-hooks repository minor v1.3.0 -> v1.5.5

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

Lucas-C/pre-commit-hooks

v1.5.5

Compare Source

Added
+ Update multiple licence year ends in one run
+ Multiple license files

If more than one --license-filepath argument is specified, the checks are
performed as follows:

  1. First, an exact match is pursued, checking the 1st license file, then
    the 2nd, and so on. If a match is found, the normal behavior is
    followed, as if the matched license file was the only license file
    specified.

  2. If no exact match is found, then the software resorts to fuzzy matching.
    Again, as soon as a match is found, the normal behavior is followed, as
    if the fuzzy-matched license file was the only license file specified.

  3. Finally, if neither exact nor fuzzy matches are found, the content of
    the first license file is inserted.

v1.5.4

Compare Source

Changed
  • preserve line endings when editing file in insert_license hook -cf. #​84
  • the chmod hook does nothing under Windows

⚠️ ⚠️ This hook, since v1.5.2, requires pre-commit 3.2.0 or superior.
If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #​83

v1.5.3

Compare Source

⚠️ ⚠️ This hook, since v1.5.2, requires pre-commit 3.2.0 or superior.
If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #​83

v1.5.2

Compare Source

Also confined formatting-related hooks to meaningful stages - cf. PR #​75

Now this hook requires pre-commit 3.2.0 or superior.
If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #​83

v1.5.1

Compare Source

cf. https://github.com/Lucas-C/pre-commit-hooks/pull/72

v1.5.0

Compare Source

Usage

- repo: https://github.com/Lucas-C/pre-commit-hooks
  rev: v1.5.0
  hooks:
    - id: chmod
      args: ['644']
      files: \.md$

v1.4.2

Compare Source

v1.4.1

Compare Source

Handling years flexibly

You can add --use-current-year to change how the hook treats years in the
headers:

  • When inserting a header, the current year will always be inserted
    regardless of the year listed in the license file.
  • When modifying a file that already has a header, the hook will ensure the
    current year is listed in the header by using a range. For instance,
    2015 or 2015-2018 would get updated to 2015-2023 in the year 2023.
  • When removing headers, the licenses will be removed regardless of the
    years they contain -- as if they used the year currently present in the
    license file.

v1.4.0

Compare Source

Thanks to @​GadgetSteve for the improvement on remove-tabs: https://github.com/Lucas-C/pre-commit-hooks/pull/62

v1.3.1

Compare Source

Supporting Python 3.10 by using python-Levenshtein package instead of python-Levenshtein-wheels


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@chii-bot chii-bot bot requested a review from toboshii as a code owner August 16, 2022 09:15
@chii-bot chii-bot bot added renovate/github-release type/patch size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 16, 2022
@chii-bot
Copy link
Contributor Author

chii-bot bot commented Aug 16, 2022

MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ COPYPASTE jscpd yes 2 0.95s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY secretlint yes no 1.23s
✅ YAML prettier 1 0 0.49s
✅ YAML yamllint 1 0 0.13s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@chii-bot chii-bot bot changed the title fix(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.3.1 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.0 Jan 21, 2023
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.0 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.1 Jan 22, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from fcf93b3 to 6c44d2a Compare January 22, 2023 18:18
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.1 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.2 Jan 26, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 6c44d2a to ebc4cf5 Compare January 26, 2023 08:20
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.2 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.0 Mar 31, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from ebc4cf5 to 561b3e0 Compare March 31, 2023 09:15
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.0 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.1 Mar 31, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 561b3e0 to 1fe998f Compare March 31, 2023 10:17
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.1 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.2 Aug 3, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 1fe998f to b37c69b Compare August 3, 2023 19:12
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.2 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.3 Aug 4, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from b37c69b to 7dd9309 Compare August 4, 2023 10:15
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.3 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.4 Aug 13, 2023
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 7dd9309 to e7907ae Compare August 13, 2023 15:13
… to v1.5.5

| datasource  | package                  | from   | to     |
| ----------- | ------------------------ | ------ | ------ |
| github-tags | Lucas-C/pre-commit-hooks | v1.3.0 | v1.5.5 |
@chii-bot chii-bot bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from e7907ae to d75d500 Compare February 13, 2024 22:16
@chii-bot chii-bot bot changed the title feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.4 feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.5 Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
renovate/github-release size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants